#pragma once
#include "ProjectPlanGUI\lbprojectplangui_global.h"
#include "GanttChartView.h"
#include <QWidget>
#include <QTreeView>
#include <QToolBar>


namespace LBPROJGUI
{
    class PROJECTPLANGUI_EXPORT CGanttChartWidget : public QWidget
    {
        Q_OBJECT
    public:
        CGanttChartWidget(QWidget *parent = Q_NULLPTR);

    public:
        QTreeView* GetTreeView() const;
        CGanttChartView* GetGanttChartView() const;
        QToolBar* GetToolBar() const;

    private:
        QTreeView* m_pTaskTree;
        CGanttChartView* m_pGanttChart;
        QToolBar* m_pToolBar;
    };
}
